
public class Leap {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// year we want to check
		int year = 2001;
		
		//if the year is divisible by 4 ,it is a leap year
		if((year%4==0)&&(year%100!=0)||(year%400==0))
			System.out.println("Year " + year + " is a leap year");
        else
            System.out.println("Year " + year +  " is not a leap year");

	}

}
